package ar.fi.uba.fallas2.business;

public class QuestionObjectPair {
	private GuessObject object;
	private Question question;
	
	public QuestionObjectPair(GuessObject o, Question q) {
		this.setObject(o);
		this.setQuestion(q);
	}
	
	public boolean equals(Object o) {
		QuestionObjectPair other = (QuestionObjectPair) o;
		return this.getObject().equals(other.getObject()) && this.getQuestion().equals(other.getQuestion());
	}
	
	public int hashCode() {
		return 0;
	}

	public void setObject(GuessObject object) {
		this.object = object;
	}

	public GuessObject getObject() {
		return object;
	}

	public void setQuestion(Question question) {
		this.question = question;
	}

	public Question getQuestion() {
		return question;
	}
}
